import CGlfw

public class SGDisplay {
    //var monitors:[OpaquePointer]

    init(){
    }

  static var displyCount: Int32 {
    get {
      var count:Int32 = 0
       glfwGetMonitors(&count)
       return count;
    }
  }

  static var primaryMonitor:OpaquePointer {
    get {
      return glfwGetPrimaryMonitor()
    }
  }

  static func getMonitorName(monitor:OpaquePointer) -> String {
    let name = glfwGetMonitorName(monitor);
    return String(cString:name!)
  }
    
}